<?php
include_once ('../global.php');

class CApp extends App_Page_Admin
{
	private $cates;
	
	protected function getPara()
    {
    }

	protected function checkPara()
    {
    }

    protected function main()
    {
    	$this->cates = $this->goods_category->getCagegoryHierarchyList();
        $this->setTitle("Welcome!");
        $this->setCurrMenu('goods', 'cate_list');
    }

    protected function outputBody()
    {
    	$this->smarty->assign('cateList', $this->cates);
        $this->smarty->display("admin/cate_list.html");
    }
}

$app = new CApp("");
$app->run();
?>